package com.test.config;

import io.shardingsphere.core.keygen.DefaultKeyGenerator;
import io.shardingsphere.core.keygen.KeyGenerator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Jack on 6/30/2018.
 */
@Configuration
public class ComponentConfiguration {

    @Bean
    KeyGenerator keyGenerator() {
        return new DefaultKeyGenerator();
    }
}
